package bean;

import java.sql.Types;

import annotation.Column;
import annotation.Id;
import annotation.Table;

@Table(tableName = "user")
public class User {
	@Id
	@Column(name = "id", type = Types.VARCHAR)
	private String id;
	@Column(name = "email", type = Types.VARCHAR)
	private String email;
	@Column(name = "age", type = Types.INTEGER)
	private Integer age;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", email=" + email + ", age=" + age + "]";
	}
}
